<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp" %>
<!DOCTYPE html>
<html lang="en">
	<head>
	<meta charset="UTF-8">
		<title>首页 - 广告营销-前台</title>
	</head>
	<body>
		${rootPath } --->
		<table width="80%" border="1">
			<tr>
				<td>名称</td>
				<td>链接</td>
			</tr>
			<tr>
				<td>facebook</td>
				<td><a href="${rootPath }/link/ip.htm" target="_blank">ip(client)</a></td>
			</tr>
			<tr>
				<td>facebook</td>
				<td><a href="${rootPath }/link/facebook.htm" target="_blank">facebook</a></td>
			</tr>
			<tr>
				<td>facebookl(登陆页面)</td>
				<td><a href="${rootPath }/link/facebookl.htm" target="_blank">facebookl</a></td>
			</tr>
			<tr>
				<td>facebookl(登陆页面)--ip</td>
				<td>
					<form action="${rootPath }/link/facebookl.htm" method="get" target="_blank">
						<a href="http://ip138.com/ips138.asp?ip=${pageContext.request.remoteAddr }" target="_blank">查看ip</a><br/>
						ip:<input type="text" name="clientIp" value="${pageContext.request.remoteAddr }" placeholder="请输入ip">
						<br/>
						<%-- acceptLanguage:<input type="text" name="acceptLanguage" value="${pageContext.request.getHeader('accept-language') }" placeholder="请输入accept-language"> --%>
						<input type="submit" value="提交">
					</form>
<pre>
注:
请先清除cookie,
再刷新见面
尽量去模拟用户的请求
1,点击"查看ip",查询一下ip的归属地
2,输入ip,
3,点击国家代码,找到国家代码,对应的acceptLanguage,填写到acceptLanguage中;
4,点击提交测试;
</pre>
				</td>
			</tr>
			<tr>
				<td>facebookl(js打开)</td>
				<td><a href="${rootPath }/link/facebooklo.htm" target="_blank">facebooklo</a></td>
			</tr>
			<tr>
				<td>facebookl(js打开)--ip</td>
				<td>
					<form action="${rootPath }/link/facebooklo.htm" method="get" target="_blank">
						<input type="text" name="ip" value="${pageContext.request.remoteAddr }">
						<input type="submit" value="提交">
					</form>
					注:
					请先清除cookie,
					再刷新见面
				</td>
			</tr>
			<tr>
				<td>facebookl</td>
				<td><a href="${rootPath }/facebookR.htm" target="_blank">直接跳转</a></td>
			</tr>
			<tr>
				<td>国家代码</td>
				<td><a href="${rootPath }/localeAll.htm" target="_blank">国家代码</a></td>
			</tr>
			<tr>
				<td>查看IP(所在地)</td>
				<td>
					<form action="${rootPath }/ip.htm" method="get" target="_blank">
						ip:<input type="text" name="ip" value="myip" placeholder="请输入ip">
						<input type="submit" value="提交">
					</form>
				</td>
			</tr>
			<tr>
				<td><a href="${rootPath}/QrCode.htm" target="_blank">二维码的生成和解码</a></td>
				<td><a href="${rootPath}/shortUrl.htm" target="_blank">短连接</a>
					<a href="${rootPath }/email.htm" target="_blank">发邮件</a>
				</td>
			</tr> 
		</table>
		 
	</body>
</html>